//
//  leftViewController.m
//  Life assistant
//
//  Created by 我的mac on 15/12/11.
//  Copyright © 2015年 HY. All rights reserved.
//

#import "leftViewController.h"
#import "HYHTTPRequest.h"
#import "UIButton+move.h"
#import "leftContentView.h"
@interface leftViewController ()
@property(nonatomic, weak)UIView *contentV;
@end

@implementation leftViewController
- (void)viewDidLoad
{
    [super viewDidLoad];
   
    leftContentView *contentV=[[leftContentView alloc]initWithFrame:CGRectMake(0, 0, 240, 667)];
    contentV.backgroundColor=[UIColor redColor];
    _contentV=contentV;
    
    [self.view addSubview:contentV];
    
//    AFHTTPRequestOperationManager *manager=[AFHTTPRequestOperationManager manager];
//    NSDictionary *paraDic=@{@"key":@"1dffe1beb88ea13bceb863127668430b",@"count":@20,@"cat":@1};
//    [manager GET:@"http://japi.juhe.cn/love/list.from" parameters:paraDic success:^(AFHTTPRequestOperation *operation, id responseObject)
//    {
//        NSLog(@"%@",responseObject);
//    }
//    failure:^(AFHTTPRequestOperation *operation, NSError *error) {
//         NSLog(@"%@",error);
//    }];
//    NSDictionary *dic=@{@"key":@"18db858ee3dad5c65dbb069b8922ad32",@"cityname":@"北京"};
//   [HYHTTPRequest requestWithURL:@"http://v.juhe.cn/weather/forecast3h" param:dic Sucess:^(id result)
//    {
//        NSLog(@"%@",result);
//   }];
}


@end
